<style type="text/css">
table.gridtable {
    font-family: verdana, arial, sans-serif;
    font-size: 15px;
    color: #333333;
    border-width: 1px;
    border-color: #666666;
    border-collapse: collapse;
}

table.gridtable th {
    border-width: 1px;
    padding: 8px;
    border-style: solid;
    border-color: #666666;
    background-color: #dedede;
}

table.gridtable td {
    border-width: 1px;
    padding: 8px;
    border-style: solid;
    border-color: #666666;
    background-color: #ffffff;
}
</style>
<table class="gridtable">
    <thead>
        <tr>
            <th> 配送流水 </th>
            <th> 订单详情 </th>
            <th> 收货人 </th>
            <th> 地址 </th>
            <th> 收货手机 </th>
            <th> 快递公司 </th>
            <th> 快递单号 </th>
        </tr>
    </thead>
    <tbody>
        <volist id="vo" name="list">
            <tr>
				<td>{$vo['ship_id']}</td>
				<td>
				<?php
					$order_detail = "";
					foreach($order_commodity[$vo['order_id']] as $od){
						if($order_detail == "")
						$order_detail = $od['name']."(".$od['spec'].") ".num_f($od['order_num']).$od['unit_name'];
						else 
						$order_detail .= ",".$od['name']."(".$od['spec'].") ".num_f($od['order_num']).$od['unit_name'];
					}
					echo $order_detail;
				?>
				</td>
				<td>{$vo['consignee']}</td>
				<td><?php echo $city_kv[$vo['city']]." ".$district_kv[$vo['district']]." ".$vo['address'] ?></td>
				<td>{$vo['mobile']}</td>
				<td>
					<?php 
						if(!empty($vo['tracking_com']))echo C('SHIP_COM_CODE.'.$vo['tracking_com']);
					?>
				</td>
				<td>{$vo['tracking_nu']}</td>
			</tr>
        </volist>
    </tbody>
</table>
